<?php

class FIN_configBean {
	 public static function get_all_config_data($db,$langid) {
        $strSQL = sprintf("SELECT * FROM ".TBL_CONFIG_MANAGER." c WHERE c.lang_id = '$langid'");
        $res =  $db->get_row($strSQL);
		if($res!=""){
			$res->site_title = html_entity_decode($res->site_title);
			$res->keywords = html_entity_decode($res->keywords);
			$res->description = html_entity_decode($res->description);
			$res->copyright = html_entity_decode($res->copyright);
		}
		return $res;
	}
}
?>